Efficient Interprocedural Data-Flow Analysis Using Treedepth and Treewidth

نویسندگان

چکیده

We consider interprocedural data-flow analysis as formalized by the standard IFDS framework, which can express many widely-used static analyses such reaching definitions, live variables, and null-pointer. focus on well-studied on-demand setting in queries arrive one-by-one a stream each query should be answered fast possible. While classical algorithm provides polynomial-time solution for this problem, it is not scalable practice. More specifically, will either require quadratic-time preprocessing phase or takes linear time per query, both of are untenable modern huge codebases with hundreds thousands lines. Previous works have already shown that parameterizing problem treewidth program’s control-flow graph promising lead to significant gains efficiency. Unfortunately, these results were only applicable limited special case same-context queries. In work, we obtain speedups general necessarily same-context. This achieved exploiting new sparsity parameter, namely treedepth call graph. Our approach first exploit graphs at same parameterize treedepth. an answer constant wrt size input. Finally, our experimental demonstrate significantly outperforms its variant.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Interprocedural data flow decompilation

Traditional compiler data ow analysis techniques are used to transform the intermediate representation of a decompiled program to a higher representation that eliminates low-level concepts such as registers and condition codes, and reintroduces the high-level concept of expression. Summary data ow information is collected on condition codes and registers, and is propagated across basic blocks a...

متن کامل

Efficient Flow-Sensitive Interprocedural Data-Flow Analysis in the Presence of Pointers

This paper presents a new worklist algorithm that significantly speeds up a large class of flow-sensitive data-flow analyses, including typestate error checking and pointer analysis. Our algorithm works particularly well for interprocedural analyses. By contrast, traditional algorithms work well for individual procedures but do not scale well to interprocedural analysis because they spend too m...

متن کامل

Interprocedural Control Flow Analysis

Control Flow Analysis is a widely used approach for analysing functional and object oriented programs. Once the applications become more demanding also the analysis needs to be more precise in its ability to deal with mutable state (or side-effects) and to perform polyvariant (or context-sensitive) analysis. Several insights in Data Flow Analysis and Abstract Interpretation show how to do so fo...

متن کامل

Efficient location by using data envelopment analysis

So far, many types of location models have been developed to find optimal spatial patterns according to different spatial metrics such as cost, coverage and availability.  The initial focus of these models is on the location availability of service providers and demand estimates, and some of these models are within the framework of multi-objective programming models.  After the advent of scienc...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Lecture Notes in Computer Science

سال: 2023

ISSN: ['1611-3349', '0302-9743']

DOI: https://doi.org/10.1007/978-3-031-24950-1_9